# -*- coding: utf-8 -*-
# @Author: Wolf
# @Date:   2025-03-14 17:11:05
# @Last Modified by:   Wolf
# @Last Modified time: 2025-03-20 11:01:50
import math
#
# def quadratic(a, b, c):
#     pass
#
# # 测试:
# print('quadratic(2, 3, 1) =', quadratic(2, 3, 1))
# print('quadratic(1, 3, -4) =', quadratic(1, 3, -4))
#
# if quadratic(2, 3, 1) != (-0.5, -1.0):
#     print('测试失败')
# elif quadratic(1, 3, -4) != (1.0, -4.0):
#     print('测试失败')
# else:
#     print('测试成功')


# def enroll(name, gender, age=6, city='Beijing'):
#     print('name:', name)
#     print('gender:', gender)
#     print('age:', age)
#     print('city:', city)
#
# enroll(gender='male',name="haha" ,age=6, city='Beijing')


# L = list(range(100))
# print(L[-10:1])
a, b, *c = range(1, 10)
print(a, b, c)
a, b, c = [1, 10, 100]
print(a, b, c)
a, *b, c = 'hello'
print(a, b, c)